
<div class="head">
	<div class="page clearfix">
		<div id="logo"><a href="#"><img src="<?php echo $_BASE_DIR?>images/logo.jpg" /></a></div>
		<div class="tel"><a href="#"><img src="<?php echo $_BASE_DIR?>images/tel.jpg" /></a></div>
	</div>
</div>
<?php 
$_GET['controller'] = isset($_GET['controller']) ? $_GET['controller'] : 'default';
?>
<div class="nav">
	<div class="page">
		<ul>
			<li  <?php if($_GET['controller'] == 'default')echo 'class="act"';?>><a href="<?php echo url('default/index')?>">首页</a></li>
			<li <?php if($_GET['controller'] == 'dk' && @$_GET['typeid'] == 118)echo 'class="act"';?>><a href="<?php echo url("dk/index",array('typeid'=>118))?>">个人贷款</a></li>
			<li <?php if($_GET['controller'] == 'dk' && @$_GET['typeid'] == 119)echo 'class="act"';?>><a href="<?php echo url("dk/index",array('typeid'=>119))?>">企业借贷</a></li>
			<li <?php if($_GET['controller'] == 'dk' && @$_GET['id'] == 6)echo 'class="act"';?>><a href="<?php echo url("dk/view",array('id'=>6))?>">民间贷款</a></li>
			<li <?php if($_GET['controller'] == 'dk' && @$_GET['id'] == 7)echo 'class="act"';?>><a href="<?php echo url("dk/view",array('id'=>7))?>">信用贷款</a></li>
			<li <?php if($_GET['controller'] == 'online')echo 'class="act"';?>><a href="<?php echo url("online/index")?>">在线咨询</a></li>
			<li <?php if($_GET['controller'] == 'loanapply')echo 'class="act"';?>><a href="<?php echo url("loanapply/index")?>">在线申请</a></li>
			<li <?php if($_GET['controller'] == 'news')echo 'class="act"';?>><a href="<?php echo url("news/index")?>">新闻动态</a></li>
			<li <?php if($_GET['controller'] == 'content')echo 'class="act"';?>><a href="<?php echo url("content/index",array('id'=>112));?>">联系我们</a></li>
		</ul>
	</div>
</div>